{% extends 'teacher-base.html' %}
{% block title %}个人信息{% endblock %}

{% block custom_bread %}
    <section>
        <div class="wp">
            <ul  class="crumbs">
                <li><a href="{% url 'index' %}">首页</a>></li>
                <li><a href="{% url 'teacher:teacher_info' %}">个人中心</a>></li>
                <li>课程管理</li>
            </ul>
        </div>
    </section>
{% endblock %}

{% block right_content %}
    <div class="right">
		<div class="personal_des ">
			<div class="head" style="border:1px solid #eaeaea;">
				<h1>添加管理</h1>
			</div>
			<div class="inforcon">
				<div style="width:242px;">

				</div>
				<form class="perinform" action="{% url 'teacher:relcou' %}" method="post" autocomplete="off">
					<ul class="right">
						<li>课程名称：
                           <input type="text" name="name" id="name" value="" maxlength="10">
                            <i class="error-tips"></i>
                        </li>
						<li>课程详情：
                           <input type="text" id="detail" name="detail" value="" >
                            <i class="error-tips"></i>
						</li>
						<li>难度：
							<label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio"  name="degree" value="jc" checked="checked">零基础</label>
							<label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="degree" value="cj" >初级</label>
                            <label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="degree" value="zj" >中级</label>
                            <label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="degree" value="gj" >高级</label>
						</li>
						<li class="p_infor_city">热量：
                            <input type="text" name="heat" id="heat" placeholder="" value="" maxlength="10">
						    <i class="error-tips"></i>
                        </li>
						<li>学习时长：
                            <input type="text" name="learn_times" id="learn_times" placeholder="请输入时长" value="" maxlength="10">
                        </li>
                       <li>是否会员：
                            <label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio"  name="is_m" value="1">是</label>
							<label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="is_m" value="0"  checked="checked">否</label>
                        </li>
                    	<li>封面图：
                            <input type="file" name="image" id="avatarUp"  class="js-img-up">
                        </li>

						<li class="button heibtn">
							<input type="submit" id="rel_cou" value="保存">
						</li>
					</ul>
                    {% csrf_token %}
				</form>
			</div>
		</div>
	</div>
{% endblock %}


